﻿{% extends 'group_base.html' %}

{% block theme %}
{{ group.name }}群组成员
{% endblock %}

{% block topic_content %}
<!--
<h2>组长 ······</h2>
<div class="obss">
	<dl class="obu">
		<dt>
			<a href="" class="nbg">
				<img src="" class="m_sub_img" alt="人名">
			</a>
		</dt>
		<dd>
			<a href="">人名</a>
		</dd>
	</dl>
	<br clear="all" />
</div>
-->

{% if current_page == 1 %}
<h2>管理员 ······</h2>
<div class="obss">
	{% for administrator in administrators %}
	<dl class="obu">
		<dt>
			<a href="" class="nbg">
				{% if administrator.image %}
				<img src="/{{ administrator.image }}" class="img" alt={{ administrator.name }}>
				{% else %}
				<img src="/image/default_user.gif" class="img" alt={{ administrator.name }}>
				{% endif %}
			</a>
		</dt>
		<dd>
			<a href="">{{ administrator.name }}</a>
		</dd>
	</dl>
	{% endfor %}
	<br clear="all" />
</div>
{% endif %}

<h2>成员 ······</h2>
<div class="obss">
	{% for member in members %}
	<dl class="obu">
		<dt>
			<a href="" class="nbg">
				{% if member.image %}
				<img src="/{{ member.image }}" class="img" alt={{ member.name }}>
				{% else %}
				<img src="/image/default_user.gif" class="img" alt={{ member.name }}>
				{% endif %}
			</a>
		</dt>
		<dd>
			<a href="">{{ member.name }}</a>
		</dd>
	</dl>
	{% endfor %}
	<br clear="all" />
</div>

{% endblock %}

{% block aside %}
<!--
<h2>小组成员搜索 ······ </h2>
<div class="indent">你可以搜索成员名号。</div>
<br />
<form name="usp_form" action="" method="get">
<div class="infobox">
	<div class="ex1">
		<span></span>
	</div>
	<div class="bd">
		<div class="ttc">
			<input name="search_text" class="j a_search_text input_search greyinput" type="text" style=
			"width: 242px; font-size: 14px;" maxlength="36" value title="名号">
		</div>
		<div class="tc">
			<input type="hidden" name="cat" value="1005">
			<input class="butt" type="submit" value="搜索成员">
		</div>
	</div>
	<div class="ex2">
		<span></span>
	</div>
</div>
</form>
<br />
-->

<p class="pl2">
	&gt;
	<a href="/group/gr/{{ group.id }}/">返回&nbsp;{{ group.name }}</a>
</p>

{% endblock %}